package com.dubbo.provider.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

//@Configuration
public class MyMvcConfig extends WebMvcConfigurationSupport {
//    @Override
//    protected void addViewControllers(ViewControllerRegistry registry) {
//        registry.addViewController("/").setViewName("getUserByid");
//        //registry.addViewController("/paperStorage.html").setViewName("paperStorage");
//        super.addViewControllers(registry);
//
//    }
}
